// Copyright (C) 2023 Toitware ApS.
// Use of this source code is governed by a Zero-Clause BSD license that can
// be found in the tests/LICENSE file.

mixin M1:
  foo: throw "in mixin"

class A extends Object with M1:

main:
  a := A
  a.foo
